Skip to main content

english

Type

keyword

Summary

Used with the date and time functions to specify a date or time in the format used in the United States.

Syntax

english

Description

Use the english keyword to use a date in an invariant format that is guaranteed not to change when the stack is moved to another system, or when users change their system preferences.

You can use the english keyword in combination with the long, abbreviated, or short keywords. The english keyword must come before the long, abbreviated, or short keyword.

A long English date looks like this: Thursday, June 22, 2000

An abbreviated English date looks like this: Thu, Jan 22, 2000

A short English date looks like this: 1/22/00

A long English time looks like this: 11:22:47 AM

An abbreviated English time or short English time looks like this: 11:22 AM

note

The english keyword is implemented internally as a property and appears in the propertyNames. However, it cannot be used as a property in an expression, nor with the set command.

Examples

put the English date into field "US Formatted Date"
if the short English date is savedDate then goToList

command: convert, set

function: time, dateFormat, format, date, propertyNames

glossary: keyword, property, command, function, expression

keyword: abbreviated, long, short

object: stack

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?